'I am the ultimate agent for frustration in the world. I cause things to wait
(typically much more than is appropriate). When a process sends one of my instances a wait message, that process goes to sleep for the interval specified
when the instance was created.'
!
!Delay class methodsFor: 'instance creation'!
forMilliseconds: millisecondCount
^self new init: millisecondCount isRelative: true
!
forSeconds: secondCount
^self forMilliseconds: secondCount * 1000
!
untilMilliseconds: millisecondCount
^self new init: millisecondCount isRelative: false